//
//  DrivesScrollView.h
//  carcareIOS
//
//  Created by tianxing on 16/3/8.
//  Copyright © 2016年 baozun. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#import "DrivesModel.h"
#import "HorizontalTableViewCell.h"
#import "NoTripDataView.h"

@protocol DrivesCellDelegate <NSObject>

-(void)drivesDidScrollChangeTop:(CGFloat)top;

-(void)drivesDidClickSelectModelIndex:(NSInteger)index;

-(void)drivesDidScrollEndTop:(CGFloat)top;

@end

@interface DrivesCell : HorizontalTableViewCell

@property (nonatomic ,strong) UITableView *tableView;

@property (nonatomic ,strong) DrivesModel *drivesModel;

@property (nonatomic, weak) id<DrivesCellDelegate> delegate;

@property (nonatomic, copy) NSString *noDrivesTips;

-(void)updateTableViewContentInset;

@end
